

<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
  <meta charset="utf-8">
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
  <title>cortex.built_ins package &mdash; Cortex2.0  documentation</title>
  

  
  
  
  

  

  
  
    

  

  <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
  <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="next" title="cortex.built_ins.datasets package" href="cortex.built_ins.datasets.html" />
    <link rel="prev" title="cortex package" href="cortex.html" /> 

  
  <script src="_static/js/modernizr.min.js"></script>

</head>

<body class="wy-body-for-nav">

   
  <div class="wy-grid-for-nav">

    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search">
          

          
            <a href="index.html" class="icon icon-home"> Cortex2.0
          

          
          </a>

          
            
            
          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <p class="caption"><span class="caption-text">User Documentation</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="install.html">Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="getting_started.html">Getting Started</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">cortex</a><ul class="current">
<li class="toctree-l2 current"><a class="reference internal" href="cortex.html">cortex package</a><ul class="current">
<li class="toctree-l3 current"><a class="reference internal" href="cortex.html#subpackages">Subpackages</a><ul class="current">
<li class="toctree-l4 current"><a class="current reference internal" href="#">cortex.built_ins package</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="cortex.html#submodules">Submodules</a></li>
<li class="toctree-l3"><a class="reference internal" href="cortex.html#module-cortex.main">cortex.main module</a></li>
<li class="toctree-l3"><a class="reference internal" href="cortex.html#module-cortex.plugins">cortex.plugins module</a></li>
<li class="toctree-l3"><a class="reference internal" href="cortex.html#module-cortex">Module contents</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="develop.html">Develop</a></li>
<li class="toctree-l1"><a class="reference internal" href="build.html">Custom demos</a></li>
<li class="toctree-l1"><a class="reference internal" href="build.html#a-walkthrough-a-custom-classifier">A walkthrough a custom classifier:</a></li>
<li class="toctree-l1"><a class="reference internal" href="build.html#defining-losses-and-results">Defining losses and results</a></li>
<li class="toctree-l1"><a class="reference internal" href="build.html#visualization">Visualization</a></li>
<li class="toctree-l1"><a class="reference internal" href="build.html#putting-it-together">Putting it together</a></li>
</ul>

            
          
        </div>
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="index.html">Cortex2.0</a>
        
      </nav>


      <div class="wy-nav-content">
        
        <div class="rst-content">
        
          















<div role="navigation" aria-label="breadcrumbs navigation">

  <ul class="wy-breadcrumbs">
    
      <li><a href="index.html">Docs</a> &raquo;</li>
        
          <li><a href="modules.html">cortex</a> &raquo;</li>
        
          <li><a href="cortex.html">cortex package</a> &raquo;</li>
        
      <li>cortex.built_ins package</li>
    
    
      <li class="wy-breadcrumbs-aside">
        
            
            <a href="_sources/cortex.built_ins.rst.txt" rel="nofollow"> View page source</a>
          
        
      </li>
    
  </ul>

  
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
  <div class="section" id="cortex-built-ins-package">
<h1>cortex.built_ins package<a class="headerlink" href="#cortex-built-ins-package" title="Permalink to this headline">¶</a></h1>
<div class="section" id="subpackages">
<h2>Subpackages<a class="headerlink" href="#subpackages" title="Permalink to this headline">¶</a></h2>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="cortex.built_ins.datasets.html">cortex.built_ins.datasets package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.datasets.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.datasets.html#module-cortex.built_ins.datasets.CelebA">cortex.built_ins.datasets.CelebA module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.datasets.html#cortex-built-ins-datasets-dsprites-module">cortex.built_ins.datasets.dSprites module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.datasets.html#module-cortex.built_ins.datasets.imagenet">cortex.built_ins.datasets.imagenet module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.datasets.html#module-cortex.built_ins.datasets.nii_dataload">cortex.built_ins.datasets.nii_dataload module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.datasets.html#module-cortex.built_ins.datasets.torchvision_datasets">cortex.built_ins.datasets.torchvision_datasets module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.datasets.html#module-cortex.built_ins.datasets.toysets">cortex.built_ins.datasets.toysets module</a><ul>
<li class="toctree-l3"><a class="reference internal" href="cortex.built_ins.datasets.html#todos">TODOs</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.datasets.html#module-cortex.built_ins.datasets.utils">cortex.built_ins.datasets.utils module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.datasets.html#module-cortex.built_ins.datasets">Module contents</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="cortex.built_ins.models.html">cortex.built_ins.models package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.models.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.models.html#module-cortex.built_ins.models.adversarial_autoencoder">cortex.built_ins.models.adversarial_autoencoder module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.models.html#module-cortex.built_ins.models.ae">cortex.built_ins.models.ae module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.models.html#module-cortex.built_ins.models.ali">cortex.built_ins.models.ali module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.models.html#module-cortex.built_ins.models.classifier">cortex.built_ins.models.classifier module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.models.html#cortex-built-ins-models-discrete-gan-module">cortex.built_ins.models.discrete_gan module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.models.html#module-cortex.built_ins.models.gan">cortex.built_ins.models.gan module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.models.html#module-cortex.built_ins.models.image_coders">cortex.built_ins.models.image_coders module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.models.html#module-cortex.built_ins.models.mine">cortex.built_ins.models.mine module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.models.html#module-cortex.built_ins.models.utils">cortex.built_ins.models.utils module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.models.html#module-cortex.built_ins.models.vae">cortex.built_ins.models.vae module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.models.html#module-cortex.built_ins.models">Module contents</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="cortex.built_ins.networks.html">cortex.built_ins.networks package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.networks.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.networks.html#module-cortex.built_ins.networks.SpectralNormLayer">cortex.built_ins.networks.SpectralNormLayer module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.networks.html#module-cortex.built_ins.networks.ae_network">cortex.built_ins.networks.ae_network module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.networks.html#module-cortex.built_ins.networks.base_network">cortex.built_ins.networks.base_network module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.networks.html#module-cortex.built_ins.networks.conv_decoders">cortex.built_ins.networks.conv_decoders module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.networks.html#module-cortex.built_ins.networks.convnets">cortex.built_ins.networks.convnets module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.networks.html#module-cortex.built_ins.networks.fully_connected">cortex.built_ins.networks.fully_connected module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.networks.html#module-cortex.built_ins.networks.modules">cortex.built_ins.networks.modules module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.networks.html#module-cortex.built_ins.networks.resnets">cortex.built_ins.networks.resnets module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.networks.html#module-cortex.built_ins.networks.tv_models_wrapper">cortex.built_ins.networks.tv_models_wrapper module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.networks.html#module-cortex.built_ins.networks.utils">cortex.built_ins.networks.utils module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.networks.html#module-cortex.built_ins.networks">Module contents</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="cortex.built_ins.transforms.html">cortex.built_ins.transforms package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.transforms.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.transforms.html#module-cortex.built_ins.transforms.sobel">cortex.built_ins.transforms.sobel module</a></li>
<li class="toctree-l2"><a class="reference internal" href="cortex.built_ins.transforms.html#module-cortex.built_ins.transforms">Module contents</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="section" id="module-cortex.built_ins">
<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-cortex.built_ins" title="Permalink to this headline">¶</a></h2>
</div>
</div>


           </div>
           
          </div>
          <footer>
  
    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
      
        <a href="cortex.built_ins.datasets.html" class="btn btn-neutral float-right" title="cortex.built_ins.datasets package" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
      
      
        <a href="cortex.html" class="btn btn-neutral" title="cortex package" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
      
    </div>
  

  <hr/>

  <div role="contentinfo">
    <p>
        &copy; Copyright 2018, MILA.

    </p>
  </div>
  Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>. 

</footer>

        </div>
      </div>

    </section>

  </div>
  


  

    <script type="text/javascript">
        var DOCUMENTATION_OPTIONS = {
            URL_ROOT:'./',
            VERSION:'',
            LANGUAGE:'None',
            COLLAPSE_INDEX:false,
            FILE_SUFFIX:'.html',
            HAS_SOURCE:  true,
            SOURCELINK_SUFFIX: '.txt'
        };
    </script>
      <script type="text/javascript" src="_static/jquery.js"></script>
      <script type="text/javascript" src="_static/underscore.js"></script>
      <script type="text/javascript" src="_static/doctools.js"></script>
      <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>

  

  <script type="text/javascript" src="_static/js/theme.js"></script>

  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script> 

</body>
</html>